package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.ReceivablePayableDetailMapper;
import com.spark.incoicings.service.ReceivablePayableDetailService;
import com.spark.invoicings.entity.ReceivablePayableDetail;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ReceivablePayableDetailServiceImpl extends ServiceImpl<ReceivablePayableDetailMapper, ReceivablePayableDetail>
implements ReceivablePayableDetailService {
    @Resource
    private ReceivablePayableDetailMapper rm;
    @Override
    public List<ReceivablePayableDetail> selectId(Integer customerId) {
        return rm.selectId(customerId);
    }

    @Override
    public List<ReceivablePayableDetail> selectPayment(Integer supplierId) {
        return rm.selectPayment(supplierId);
    }

    @Override
    public List<ReceivablePayableDetail> select(Map<String, Object> map) {
        return rm.select(map);
    }


}
